<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta name="description" content="">
		<meta name="author" content="Mosaddek">
		<meta name="keyword" content="FlatLab, Dashboard, Bootstrap, Admin, Template, Theme, Responsive, Fluid, Retina">
		<link rel="shortcut icon" href="img/favicon.html">

		<title>Blank</title>

		<!-- Bootstrap core CSS -->
		<link href="css/bootstrap.min.css" rel="stylesheet">
		<!-- <link href="css/bootstrap-reset.css" rel="stylesheet">s -->
		<!--external css-->
		<link href="assets/font-awesome/css/font-awesome.css" rel="stylesheet" />
		<!-- Custom styles for this template -->
		<link href="css/style.css" rel="stylesheet">
		<link href="css/style-responsive.css" rel="stylesheet" />

		<link href="css/local.css" rel="stylesheet" />
		<!-- HTML5 shim and Respond.js IE8 support of HTML5 tooltipss and media queries -->
		<!--[if lt IE 9]>
      <script src="js/html5shiv.js"></script>
      <script src="js/respond.min.js"></script>
    <![endif]-->
	</head>

	<body>

		<section id="container" class="">
			<!--header start-->
			<div id="header">

			</div>
			<!--sidebar end-->
			<!--main content start-->
			<section id="main-content">
				<section class="wrapper">
					<!-- page start-->
					<div class="main-container ace-save-state" id="main-container">

						<div class="main-content">
							<div class="main-content-inner">
								<div class="page-content">
									<div class="page-header">
										<h1>
											修改
											<small>
												<i class="ace-icon fa fa-angle-double-right"></i>
												员工信息
											</small>
										</h1>
									</div><!-- /.page-header -->

									<div class="row">
										<div class="col-xs-12">
											<!-- PAGE CONTENT BEGINS -->
											<form class="form-horizontal" role="form" id="myForm" method="post"
												enctype="multipart/form-data">
												<input type="hidden" name="id" v-model="id">
												<div class="form-group">
													<label class="col-sm-3 control-label no-padding-right"
														for="userName"> 员工姓名* </label>

													<div class="col-sm-5">
														<input type="text" id="userName" name="userName" :value="empAccount.userName"
															placeholder="姓名" value="张三" class="form-control "
															readonly="readonly" />
														<span class="tip"> 请输入员工姓名</span>
													</div>
												</div>

												<div class="form-group">
													<label class="col-sm-3 control-label no-padding-right"
														for="phone"> 电话* </label>

													<div class="col-sm-5">
														<input type="tel" id="phone" name="phone" readonly
															 v-model="empAccount.phone" placeholder="电话" class="form-control"
															 />
														<span class="tip"> 请输入电话</span>
													</div>
												</div>
												<div class="form-group">
													<label class="col-sm-3 control-label no-padding-right"
														   for="keyContactsphone"> 紧急联系人电话* </label>

													<div class="col-sm-5">
														<input type="tel" id="keyContactsphone" name="keyContactsphone" readonly
															    v-model="empAccount.keyContactsphone" placeholder="紧急联系人电话" class="form-control"
														/>
														<span class="tip"> 紧急联系人电话</span>
													</div>
												</div>


												<div class="form-group">
													<label class="col-sm-3 control-label no-padding-right"
														for="age"> 年龄* </label>

													<div class="col-sm-5">
														<input type="text" id="age" name="age" :value="empAccount.age"
															placeholder="年龄" class="form-control" readonly="readonly" />
														<span class="tip"> 请输入年龄</span>
													</div>
												</div>

												<div class="form-group">
													<label class="col-sm-3 control-label no-padding-right"
														   for="identityCode"> 身份证* </label>

													<div class="col-sm-5">
														<input type="text" id="identityCode" name="identityCode" :value="empAccount.identityCode"
															   placeholder="身份证" class="form-control" readonly="readonly" />
														<span class="tip"> 请输入身份证</span>
													</div>
												</div>

												<div class="form-group">
													<label class="col-sm-3 control-label no-padding-right"
														for="address"> 详细地址* </label>

													<div class="col-sm-5">
														<input type="text" id="address" name="address" readonly
															 v-model="empAccount.address" placeholder="地址" class="form-control"
															 />
														<span class="tip"> 请输入地址</span>
													</div>
												</div>

												<div class="form-group">
													<label class="col-sm-3 control-label no-padding-right"> 职位 *
													</label>

													<div class="col-sm-5">
														<select name="interfacelanguage" class="form-control"  v-model="positionId" @change="getvaluemethod($event)"
																datatype="*" errormsg="请输入职位">
															<option :value="item.id" v-for="item in positions">
																{{item.post}}
															</option>
														</select>
														<div class="Validform_checktip" style="color: red;font-size: 17px;"></div>
													</div>
												</div>

												<input type="hidden" name="jobNumber" v-model="empAccount.jobNumber">

												<div class="clearfix form-actions">
													<div class="col-md-offset-3 col-md-9">
														<button class="btn btn-danger" @click="updateEmpAccount" type="button">
															<!--                                                      <i class="ace-icon fa fa-check bigger-110"></i>-->
															修改
														</button>

														&nbsp; &nbsp; &nbsp;
														<button class="btn btn-info" type="button"
															onclick="javascript:history.back()">
															<!--                                                      <i class="ace-icon fa fa-undo bigger-110"></i>-->
															返回
														</button>
													</div>
												</div>



											</form>

											<!-- PAGE CONTENT ENDS -->
										</div><!-- /.col -->
									</div><!-- /.row -->
								</div><!-- /.page-content -->
							</div>
						</div><!-- /.main-content -->

					</div>
					<!-- page end-->
				</section>
			</section>
		</section>
		<!--main content end-->

		<!-- js placed at the end of the document so the pages load faster -->
		<script src="js/jquery.js"></script>
		<script src="js/bootstrap.min.js"></script>
		<script src="js/jquery.scrollTo.min.js"></script>
		<script src="js/jquery.nicescroll.js" type="text/javascript"></script>


		<!--common script for all pages-->
		<script src="js/vue.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/axios.js"></script>
		<script src="localjs/director-modify.js"></script>
		<script src="js/common-scripts.js"></script>

	</body>
</html>
